<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%@taglib uri="/struts-dojo-tags" prefix="sx" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
	<div class="tab_container_body_div">
	<form action="" >
		<table cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<td>
							选择
						</td>
						<td>
							Logo
						</td>
						<td>
							名称
						</td>
						<td>
							价格
						</td>
						<td>
							购买数量
						</td>
						<td>
							订单查看
						</td>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="pageView.records" status="list" var="my_book">
						<tr height="80"
							bgcolor="<s:if test="#list.odd">#DFF1FF</s:if><s:else>#DFF1AA</s:else>">
							<td>
								<input type="checkbox" name="bookid" value="${my_book.id }"/>
							</td>
							<td>
								<div style="display: inherit">
									<img src="${my_book.book.logo}" width="80" height="80"
										alt="${my_book.book.bookName}" />
								</div>
							</td>
							<td>
								<div class="book_name" style="display: inherit">
									<s:a  namespace="/forward/view" action="book_browse">
										<s:param name="book.id" value="#my_book.book.id"></s:param>
										${my_book.book.bookName }
									</s:a>
								</div>
							</td>
							<td>
								${my_book.price }
							</td>
							<td>
							${my_book.total }
							</td>
							<td>
								<input type="button" value="订单查看" onclick="openOrderItem('${my_book.orderItem.id}')">
							</td>
						</tr>
					</s:iterator>
				</tbody>
			</table>
			</form> 
		</div>
		<jsp:include page="../../basic/sell_page_view.jsp"></jsp:include>
</body>
</html>